package com.example.sunmiv1.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by Administrator on 2018-10-19.
 */

public class OnlineOrderBean implements Serializable {

    /**
     * status : 1
     * order : [{"id":"354","allmoney":"135.00","integral":"0","type":"1","addtime":"10-18 19:31","order_id":"2018101819310857701","isneedsend":"1","have_away":"0","exchange_money":"0.00","xcxmsgid":"26","uid":"307","status":"未發貨","out_trade_no":"undefined","istx":"0","txtime":"1539862268","pickcode":"172152","order_type":"1","refund_num":"0","pay_orderid":"","refund_money":"0.00","dismoney":"15.00","payname":"會員卡餘額支付","good_info":[{"name":"菲詩小鋪沐浴露","num":"1.00","yuan_price":"38.00","goods_allmoney":"34.20","discount":"0.90"},{"name":"可悠然欣怡沐浴露","num":"2.00","yuan_price":"56.00","goods_allmoney":"100.80","discount":"0.90"}],"coupon":"15.00","address_name":"ceshi ","address_phone":"17600687159","address_address":"江蘇省蘇州市姑蘇區蘇站路1599號好百年國際婚紗廣場7棟604-605-606室"},{"id":"353","allmoney":"86.31","integral":"0","type":"1","addtime":"10-18 18:57","order_id":"2018101818572094165","isneedsend":"1","have_away":"0","exchange_money":"0.00","xcxmsgid":"26","uid":"307","status":"未發貨","out_trade_no":"undefined","istx":"0","txtime":"1539860240","pickcode":"709603","order_type":"1","refund_num":"0","pay_orderid":"","refund_money":"0.00","dismoney":"9.59","payname":"會員卡餘額支付","good_info":[{"name":"可悠然欣怡沐浴露","num":"1.00","yuan_price":"56.00","goods_allmoney":"50.40","discount":"0.90"},{"name":"大牌上新 力士 植萃精油香氛沐浴露","num":"1.00","yuan_price":"39.90","goods_allmoney":"35.91","discount":"0.90"}],"coupon":"9.59","address_name":"ceshi ","address_phone":"17600687159","address_address":"江蘇省蘇州市姑蘇區蘇站路1599號好百年國際婚紗廣場7棟604-605-606室"},{"id":"352","allmoney":"86.31","integral":"0","type":"1","addtime":"10-18 18:53","order_id":"2018101818532301885","isneedsend":"1","have_away":"0","exchange_money":"0.00","xcxmsgid":"26","uid":"307","status":"未發貨","out_trade_no":"undefined","istx":"0","txtime":"1539860003","pickcode":"986074","order_type":"1","refund_num":"0","pay_orderid":"","refund_money":"0.00","dismoney":"9.59","payname":"會員卡餘額支付","good_info":[{"name":"可悠然欣怡沐浴露","num":"1.00","yuan_price":"56.00","goods_allmoney":"50.40","discount":"0.90"},{"name":"大牌上新 力士 植萃精油香氛沐浴露","num":"1.00","yuan_price":"39.90","goods_allmoney":"35.91","discount":"0.90"}],"coupon":"9.59","address_name":"ceshi ","address_phone":"17600687159","address_address":"江蘇省蘇州市姑蘇區蘇站路1599號好百年國際婚紗廣場7棟604-605-606室"},{"id":"351","allmoney":"0.01","integral":"0","type":"1","addtime":"10-18 18:52","order_id":"2018101818525279408","isneedsend":"1","have_away":"0","exchange_money":"0.00","xcxmsgid":"26","uid":"307","status":"未發貨","out_trade_no":"xcx20181018185252384503","istx":"0","txtime":"1539859972","pickcode":"228100","order_type":"1","refund_num":"0","pay_orderid":"","refund_money":"0.00","dismoney":"0.00","payname":"微信小程序支付","good_info":[{"name":"伊利高鈣低脂奶","num":"1.00","yuan_price":"0.01","goods_allmoney":"0.01","discount":"0.90"}],"coupon":"0.00","address_name":"ceshi ","address_phone":"17600687159","address_address":"江蘇省蘇州市姑蘇區蘇站路1599號好百年國際婚紗廣場7棟604-605-606室"},{"id":"349","allmoney":"35.91","integral":"0","type":"1","addtime":"10-18 18:52","order_id":"2018101818520282631","isneedsend":"1","have_away":"0","exchange_money":"0.00","xcxmsgid":"26","uid":"307","status":"未發貨","out_trade_no":"undefined","istx":"0","txtime":"1539859922","pickcode":"678100","order_type":"1","refund_num":"0","pay_orderid":"","refund_money":"0.00","dismoney":"3.99","payname":"會員卡餘額支付","good_info":[{"name":"大牌上新 力士 植萃精油香氛沐浴露","num":"1.00","yuan_price":"39.90","goods_allmoney":"35.91","discount":"0.90"}],"coupon":"3.99","address_name":"ceshi ","address_phone":"17600687159","address_address":"江蘇省蘇州市姑蘇區蘇站路1599號好百年國際婚紗廣場7棟604-605-606室"},{"id":"348","allmoney":"35.92","integral":"0","type":"1","addtime":"10-18 18:48","order_id":"2018101818480189430","isneedsend":"1","have_away":"0","exchange_money":"0.00","xcxmsgid":"26","uid":"307","status":"未發貨","out_trade_no":"undefined","istx":"0","txtime":"1539859681","pickcode":"355761","order_type":"1","refund_num":"0","pay_orderid":"","refund_money":"0.00","dismoney":"3.99","payname":"微信小程序支付","good_info":[{"name":"大牌上新 力士 植萃精油香氛沐浴露","num":"1.00","yuan_price":"39.90","goods_allmoney":"35.91","discount":"0.90"},{"name":"臺式烤香腸","num":"1.00","yuan_price":"0.01","goods_allmoney":"0.01","discount":"0.90"}],"coupon":"3.99","address_name":"ceshi ","address_phone":"17600687159","address_address":"江蘇省蘇州市姑蘇區蘇站路1599號好百年國際婚紗廣場7棟604-605-606室"},{"id":"347","allmoney":"0.01","integral":"0","type":"1","addtime":"10-18 18:47","order_id":"2018101818472297023","isneedsend":"1","have_away":"0","exchange_money":"0.00","xcxmsgid":"26","uid":"307","status":"未發貨","out_trade_no":"xcx20181018184723914259","istx":"0","txtime":"1539859642","pickcode":"524703","order_type":"1","refund_num":"0","pay_orderid":"","refund_money":"0.00","dismoney":"0.00","payname":"微信小程序支付","good_info":[{"name":"伊利高鈣低脂奶","num":"1.00","yuan_price":"0.01","goods_allmoney":"0.10","discount":"9.99"}],"coupon":"0.00","address_name":"ceshi ","address_phone":"17600687159","address_address":"江蘇省蘇州市姑蘇區蘇站路1599號好百年國際婚紗廣場7棟604-605-606室"},{"id":"346","allmoney":"38.50","integral":"0","type":"1","addtime":"10-18 18:45","order_id":"2018101818453079832","isneedsend":"1","have_away":"0","exchange_money":"0.00","xcxmsgid":"38","uid":"264","status":"未發貨","out_trade_no":"undefined","istx":"0","txtime":"1539859530","pickcode":"729736","order_type":"1","refund_num":"0","pay_orderid":"","refund_money":"0.00","dismoney":"0.00","payname":"微信小程序支付","good_info":[{"name":"多芬深層瑩潤沐浴露","num":"1.00","yuan_price":"38.50","goods_allmoney":"38.50","discount":"1.00"}],"coupon":"0.00","address_name":"灬神人","address_phone":"15258681586","address_address":"格林豪泰(蘇州火車站北廣場店)"},{"id":"344","allmoney":"135.00","integral":"0","type":"1","addtime":"10-18 17:20","order_id":"2018101817203552714","isneedsend":"1","have_away":"0","exchange_money":"0.00","xcxmsgid":"25","uid":"109","status":"未發貨","out_trade_no":"undefined","istx":"0","txtime":"1539854435","pickcode":"186489","order_type":"1","refund_num":"0","pay_orderid":"","refund_money":"0.00","dismoney":"15.00","payname":"微信小程序支付","good_info":[{"name":"菲詩小鋪沐浴露","num":"1.00","yuan_price":"38.00","goods_allmoney":"34.20","discount":"0.90"},{"name":"可悠然欣怡沐浴露","num":"2.00","yuan_price":"56.00","goods_allmoney":"100.80","discount":"0.90"}],"coupon":"15.00","address_name":"劉敏","address_phone":"18886233050","address_address":"好白年"},{"id":"343","allmoney":"187.38","integral":"0","type":"1","addtime":"10-18 17:19","order_id":"2018101817192515769","isneedsend":"1","have_away":"0","exchange_money":"0.00","xcxmsgid":"35","uid":"140","status":"未發貨","out_trade_no":"undefined","istx":"0","txtime":"1539854365","pickcode":"108020","order_type":"1","refund_num":"0","pay_orderid":"","refund_money":"0.00","dismoney":"20.82","payname":"微信小程序支付","good_info":[{"name":"雲南白藥牙膏留蘭","num":"1.00","yuan_price":"18.80","goods_allmoney":"16.92","discount":"0.90"},{"name":"力士閃亮冰爽沐浴露","num":"1.00","yuan_price":"29.90","goods_allmoney":"26.91","discount":"0.90"},{"name":"大牌上新 力士 植萃精油香氛沐浴露","num":"1.00","yuan_price":"39.90","goods_allmoney":"35.91","discount":"0.90"},{"name":"力士晚香沐浴露","num":"4.00","yuan_price":"29.90","goods_allmoney":"107.64","discount":"0.90"}],"coupon":"20.82","address_name":"夏昌茂","address_phone":"13390768078","address_address":"江蘇省南京市雨花臺區軟件大道109號雨花客廳"}]
     */

    private int status;
    private List<OrderBean> order;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public List<OrderBean> getOrder() {
        return order;
    }

    public void setOrder(List<OrderBean> order) {
        this.order = order;
    }

    public static class OrderBean implements Serializable {
        /**
         * id : 354
         * allmoney : 135.00
         * integral : 0
         * type : 1
         * addtime : 10-18 19:31
         * order_id : 2018101819310857701
         * isneedsend : 1
         * have_away : 0
         * exchange_money : 0.00
         * xcxmsgid : 26
         * uid : 307
         * status : 未發貨
         * out_trade_no : undefined
         * istx : 0
         * txtime : 1539862268
         * pickcode : 172152
         * order_type : 1
         * refund_num : 0
         * pay_orderid :
         * refund_money : 0.00
         * dismoney : 15.00
         * payname : 會員卡餘額支付
         * good_info : [{"name":"菲詩小鋪沐浴露","num":"1.00","yuan_price":"38.00","goods_allmoney":"34.20","discount":"0.90"},{"name":"可悠然欣怡沐浴露","num":"2.00","yuan_price":"56.00","goods_allmoney":"100.80","discount":"0.90"}]
         * coupon : 15.00
         * address_name : ceshi
         * address_phone : 17600687159
         * address_address : 江蘇省蘇州市姑蘇區蘇站路1599號好百年國際婚紗廣場7棟604-605-606室
         */

        private String id;
        private String all_money;
        private String integral;
        private String type;
        private String add_time;
        private String order_id;
        private String order_no;
        private String pickup_type;
        private String have_away;
        private String exchange_money;
        private String integral_dis_money;
        private String vip_dis_money;
        private String coupon_money;
        private String xcxmsgid;
        private String uid;
        private String status;
        private String out_trade_no;
        private String order_genre;
        private String istx;
        private String txtime;
        private String pick_code;
        private String order_type;
        private String refund_num;
        private String pay_orderid;
        private String refund_money;
        private String dismoney;
        private String payname;
        private String coupon;
        private String delivery_type;
        private String address_name;
        private String address_phone;
        private String address_address;
        private String remark;
        private String refund_status;
        private String refund_order_no;
        private String statusnum;
        private List<GoodInfoBean> good_info;
        private String extraction_code;
        private String user_select_time;

        public String getUser_select_time() {
            return user_select_time == null ? "" : user_select_time;
        }

        public String getRefund_order_no() {
            return refund_order_no == null ? "" : refund_order_no;
        }

        public void setRefund_order_no(String refund_order_no) {
            this.refund_order_no = refund_order_no;
        }

        public String getIntegral_dis_money() {
            return integral_dis_money == null ? "" : integral_dis_money;
        }

        public void setIntegral_dis_money(String integral_dis_money) {
            this.integral_dis_money = integral_dis_money;
        }

        public String getVip_dis_money() {
            return vip_dis_money == null ? "" : vip_dis_money;
        }

        public void setVip_dis_money(String vip_dis_money) {
            this.vip_dis_money = vip_dis_money;
        }

        public String getCoupon_money() {
            return coupon_money == null ? "" : coupon_money;
        }

        public void setCoupon_money(String coupon_money) {
            this.coupon_money = coupon_money;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getStatusnum() {
            return statusnum == null ? "" : statusnum;
        }

        public void setStatusnum(String statusnum) {
            this.statusnum = statusnum;
        }

        public String getAll_money() {
            return all_money == null ? "" : all_money;
        }

        public void setAll_money(String all_money) {
            this.all_money = all_money;
        }

        public String getIntegral() {
            return integral;
        }

        public void setIntegral(String integral) {
            this.integral = integral;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getAdd_time() {
            return add_time == null ? "" : add_time;
        }

        public void setAdd_time(String add_time) {
            this.add_time = add_time;
        }

        public String getOrder_id() {
            return order_id;
        }

        public void setOrder_id(String order_id) {
            this.order_id = order_id;
        }

        public String getOrder_no() {
            return order_no == null ? "" : order_no;
        }

        public void setOrder_no(String order_no) {
            this.order_no = order_no;
        }

        public String getPickup_type() {
            return pickup_type == null ? "" : pickup_type;
        }

        public void setPickup_type(String pickup_type) {
            this.pickup_type = pickup_type;
        }

        public String getDelivery_type() {
            return delivery_type == null ? "" : delivery_type;
        }

        public void setDelivery_type(String delivery_type) {
            this.delivery_type = delivery_type;
        }

        public String getHave_away() {
            return have_away;
        }

        public void setHave_away(String have_away) {
            this.have_away = have_away;
        }

        public String getExchange_money() {
            return exchange_money;
        }

        public void setExchange_money(String exchange_money) {
            this.exchange_money = exchange_money;
        }

        public String getOrder_genre() {
            return order_genre;
        }

        public void setOrder_genre(String order_genre) {
            this.order_genre = order_genre;
        }

        public String getXcxmsgid() {
            return xcxmsgid;
        }

        public void setXcxmsgid(String xcxmsgid) {
            this.xcxmsgid = xcxmsgid;
        }

        public String getUid() {
            return uid;
        }

        public void setUid(String uid) {
            this.uid = uid;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getOut_trade_no() {
            return out_trade_no;
        }

        public void setOut_trade_no(String out_trade_no) {
            this.out_trade_no = out_trade_no;
        }

        public String getIstx() {
            return istx;
        }

        public void setIstx(String istx) {
            this.istx = istx;
        }

        public String getTxtime() {
            return txtime;
        }

        public void setTxtime(String txtime) {
            this.txtime = txtime;
        }

        public String getPickcode() {
            return pick_code;
        }

        public void setPickcode(String pickcode) {
            this.pick_code = pickcode;
        }

        public String getOrder_type() {
            return order_type;
        }

        public void setOrder_type(String order_type) {
            this.order_type = order_type;
        }

        public String getRefund_num() {
            return refund_num;
        }

        public void setRefund_num(String refund_num) {
            this.refund_num = refund_num;
        }

        public String getPay_orderid() {
            return pay_orderid;
        }

        public void setPay_orderid(String pay_orderid) {
            this.pay_orderid = pay_orderid;
        }

        public String getRefund_money() {
            return refund_money;
        }

        public void setRefund_money(String refund_money) {
            this.refund_money = refund_money;
        }

        public String getDismoney() {
            return dismoney;
        }

        public void setDismoney(String dismoney) {
            this.dismoney = dismoney;
        }

        public String getPayname() {
            return payname;
        }

        public void setPayname(String payname) {
            this.payname = payname;
        }

        public String getCoupon() {
            return coupon;
        }

        public void setCoupon(String coupon) {
            this.coupon = coupon;
        }

        public String getAddress_name() {
            return address_name;
        }

        public void setAddress_name(String address_name) {
            this.address_name = address_name;
        }

        public String getAddress_phone() {
            return address_phone;
        }

        public void setAddress_phone(String address_phone) {
            this.address_phone = address_phone;
        }

        public String getAddress_address() {
            return address_address;
        }

        public void setAddress_address(String address_address) {
            this.address_address = address_address;
        }

        public String getRemark() {
            return remark;
        }

        public void setRemark(String remark) {
            this.remark = remark;
        }

        public String getRefund_status() {
            return refund_status;
        }

        public void setRefund_status(String refund_status) {
            this.refund_status = refund_status;
        }

        public List<GoodInfoBean> getGood_info() {
            return good_info;
        }

        public void setGood_info(List<GoodInfoBean> good_info) {
            this.good_info = good_info;
        }

        public String getExtraction_code() {
            return extraction_code == null ? "" : extraction_code;
        }

        public void setExtraction_code(String extraction_code) {
            this.extraction_code = extraction_code;
        }

        public static class GoodInfoBean implements Serializable {
            /**
             * name : 菲詩小鋪沐浴露
             * num : 1.00
             * yuan_price : 38.00
             * goods_allmoney : 34.20
             * discount : 0.90
             */

            private String name;
            private String num;
            private String yuan_price;
            private String goods_allmoney;
            private String discount;
            private String company;
            private String serial_number_state;
            private String sku_id;
            private String goods_id;
            private List<SerialListBean> serial_list;

            public String getSku_id() {
                return sku_id == null ? "" : sku_id;
            }

            public void setSku_id(String sku_id) {
                this.sku_id = sku_id;
            }

            public String getGoods_id() {
                return goods_id == null ? "" : goods_id;
            }

            public void setGoods_id(String goods_id) {
                this.goods_id = goods_id;
            }

            public List<SerialListBean> getSerial_list() {
                if (serial_list == null) {
                    return new ArrayList<>();
                }
                return serial_list;
            }

            public void setSerial_list(List<SerialListBean> serial_list) {
                this.serial_list = serial_list;
            }

            public String getSerial_number_state() {
                return serial_number_state == null ? "" : serial_number_state;
            }

            public void setSerial_number_state(String serial_number_state) {
                this.serial_number_state = serial_number_state;
            }

            public String getCompany() {
                return company == null ? "" : company;
            }

            public void setCompany(String company) {
                this.company = company;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getNum() {
                return num;
            }

            public void setNum(String num) {
                this.num = num;
            }

            public String getYuan_price() {
                return yuan_price;
            }

            public void setYuan_price(String yuan_price) {
                this.yuan_price = yuan_price;
            }

            public String getGoods_allmoney() {
                return goods_allmoney;
            }

            public void setGoods_allmoney(String goods_allmoney) {
                this.goods_allmoney = goods_allmoney;
            }

            public String getDiscount() {
                return discount;
            }

            public void setDiscount(String discount) {
                this.discount = discount;
            }

            public static class SerialListBean implements Serializable {
                private String id;
                private String main_serial_number;
                private String auxiliary_serial_number_one;
                private String auxiliary_serial_number_two;

                public SerialListBean(String id, String main_serial_number, String auxiliary_serial_number_one, String auxiliary_serial_number_two) {
                    this.id = id;
                    this.main_serial_number = main_serial_number;
                    this.auxiliary_serial_number_one = auxiliary_serial_number_one;
                    this.auxiliary_serial_number_two = auxiliary_serial_number_two;
                }

                public String getId() {
                    return id == null ? "" : id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public String getMain_serial_number() {
                    return main_serial_number == null ? "" : main_serial_number;
                }

                public void setMain_serial_number(String main_serial_number) {
                    this.main_serial_number = main_serial_number;
                }

                public String getAuxiliary_serial_number_one() {
                    return auxiliary_serial_number_one == null ? "" : auxiliary_serial_number_one;
                }

                public void setAuxiliary_serial_number_one(String auxiliary_serial_number_one) {
                    this.auxiliary_serial_number_one = auxiliary_serial_number_one;
                }

                public String getAuxiliary_serial_number_two() {
                    return auxiliary_serial_number_two == null ? "" : auxiliary_serial_number_two;
                }

                public void setAuxiliary_serial_number_two(String auxiliary_serial_number_two) {
                    this.auxiliary_serial_number_two = auxiliary_serial_number_two;
                }
            }
        }
    }
}
